import React, { Component } from 'react'
import { Link } from 'react-router-dom'

class Content extends Component{

    render(){
        return (
            <div>
                <div>我是谁</div>
                <Link to="/admin/a">嵌套路由1</Link>
                <Link to="/admin/info">嵌套路由2</Link>
                <hr/>
                {this.props.children}
            </div>
        )
    }
}

export default Content